Optimal. Leaf size=137 \[ -\frac{3 \sqrt{b x^2+c x^4} (4 b B-5 A c)}{8 b^3 x^3}+\frac{4 b B-5 A c}{4 b^2 x \sqrt{b x^2+c x^4}}+\frac{3 c (4 b B-5 A c) \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{8 b^{7/2}}-\frac{A}{4 b x^3 \sqrt{b x^2+c x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.191907, antiderivative size = 137, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.192, Rules used = {2038, 2006, 2025, 2008, 206} \[ -\frac{3 \sqrt{b x^2+c x^4} (4 b B-5 A c)}{8 b^3 x^3}+\frac{4 b B-5 A c}{4 b^2 x \sqrt{b x^2+c x^4}}+\frac{3 c (4 b B-5 A c) \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{8 b^{7/2}}-\frac{A}{4 b x^3 \sqrt{b x^2+c x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2038
Rule 2006
Rule 2025
Rule 2008
Rule 206
Rubi steps
\begin{align*} \int \frac{A+B x^2}{x^2 \left (b x^2+c x^4\right )^{3/2}} \, dx &=-\frac{A}{4 b x^3 \sqrt{b x^2+c x^4}}-\frac{(-4 b B+5 A c) \int \frac{1}{\left (b x^2+c x^4\right )^{3/2}} \, dx}{4 b}\\ &=-\frac{A}{4 b x^3 \sqrt{b x^2+c x^4}}+\frac{4 b B-5 A c}{4 b^2 x \sqrt{b x^2+c x^4}}+\frac{(3 (4 b B-5 A c)) \int \frac{1}{x^2 \sqrt{b x^2+c x^4}} \, dx}{4 b^2}\\ &=-\frac{A}{4 b x^3 \sqrt{b x^2+c x^4}}+\frac{4 b B-5 A c}{4 b^2 x \sqrt{b x^2+c x^4}}-\frac{3 (4 b B-5 A c) \sqrt{b x^2+c x^4}}{8 b^3 x^3}-\frac{(3 c (4 b B-5 A c)) \int \frac{1}{\sqrt{b x^2+c x^4}} \, dx}{8 b^3}\\ &=-\frac{A}{4 b x^3 \sqrt{b x^2+c x^4}}+\frac{4 b B-5 A c}{4 b^2 x \sqrt{b x^2+c x^4}}-\frac{3 (4 b B-5 A c) \sqrt{b x^2+c x^4}}{8 b^3 x^3}+\frac{(3 c (4 b B-5 A c)) \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x}{\sqrt{b x^2+c x^4}}\right )}{8 b^3}\\ &=-\frac{A}{4 b x^3 \sqrt{b x^2+c x^4}}+\frac{4 b B-5 A c}{4 b^2 x \sqrt{b x^2+c x^4}}-\frac{3 (4 b B-5 A c) \sqrt{b x^2+c x^4}}{8 b^3 x^3}+\frac{3 c (4 b B-5 A c) \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{8 b^{7/2}}\\ \end{align*}
Mathematica [C] time = 0.0266065, size = 64, normalized size = 0.47 \[ \frac{c x^4 (5 A c-4 b B) \, _2F_1\left (-\frac{1}{2},2;\frac{1}{2};\frac{c x^2}{b}+1\right )-A b^2}{4 b^3 x^3 \sqrt{x^2 \left (b+c x^2\right )}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 157, normalized size = 1.2 \begin{align*} -{\frac{c{x}^{2}+b}{8\,x} \left ( 12\,B{b}^{5/2}{x}^{4}c-15\,A{b}^{3/2}{x}^{4}{c}^{2}+15\,A\ln \left ( 2\,{\frac{\sqrt{b}\sqrt{c{x}^{2}+b}+b}{x}} \right ) \sqrt{c{x}^{2}+b}{x}^{4}b{c}^{2}+4\,B{b}^{7/2}{x}^{2}-12\,B\ln \left ( 2\,{\frac{\sqrt{b}\sqrt{c{x}^{2}+b}+b}{x}} \right ) \sqrt{c{x}^{2}+b}{x}^{4}{b}^{2}c-5\,A{b}^{5/2}{x}^{2}c+2\,A{b}^{7/2} \right ) \left ( c{x}^{4}+b{x}^{2} \right ) ^{-{\frac{3}{2}}}{b}^{-{\frac{9}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x^{2} + A}{{\left (c x^{4} + b x^{2}\right )}^{\frac{3}{2}} x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.4119, size = 671, normalized size = 4.9 \begin{align*} \left [-\frac{3 \,{\left ({\left (4 \, B b c^{2} - 5 \, A c^{3}\right )} x^{7} +{\left (4 \, B b^{2} c - 5 \, A b c^{2}\right )} x^{5}\right )} \sqrt{b} \log \left (-\frac{c x^{3} + 2 \, b x - 2 \, \sqrt{c x^{4} + b x^{2}} \sqrt{b}}{x^{3}}\right ) + 2 \,{\left (3 \,{\left (4 \, B b^{2} c - 5 \, A b c^{2}\right )} x^{4} + 2 \, A b^{3} +{\left (4 \, B b^{3} - 5 \, A b^{2} c\right )} x^{2}\right )} \sqrt{c x^{4} + b x^{2}}}{16 \,{\left (b^{4} c x^{7} + b^{5} x^{5}\right )}}, -\frac{3 \,{\left ({\left (4 \, B b c^{2} - 5 \, A c^{3}\right )} x^{7} +{\left (4 \, B b^{2} c - 5 \, A b c^{2}\right )} x^{5}\right )} \sqrt{-b} \arctan \left (\frac{\sqrt{c x^{4} + b x^{2}} \sqrt{-b}}{c x^{3} + b x}\right ) +{\left (3 \,{\left (4 \, B b^{2} c - 5 \, A b c^{2}\right )} x^{4} + 2 \, A b^{3} +{\left (4 \, B b^{3} - 5 \, A b^{2} c\right )} x^{2}\right )} \sqrt{c x^{4} + b x^{2}}}{8 \,{\left (b^{4} c x^{7} + b^{5} x^{5}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + B x^{2}}{x^{2} \left (x^{2} \left (b + c x^{2}\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x^{2} + A}{{\left (c x^{4} + b x^{2}\right )}^{\frac{3}{2}} x^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]